﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PersonalAlbum
{
    public interface ILanguageService
    {
        /// <summary>
        /// Gets the css text direction according to the current selected language
        /// </summary>
        string TextDirection { get;}

        /// <summary>
        /// Gets or sets the currect selected langauge
        /// </summary>
        string Language { get; set; }

        /// <summary>
        /// Gets the text from the current selected lanaguage for the specified key
        /// </summary>
        /// <param name="key">The required text key</param>
        /// <returns>The translation</returns>
        string GetText(string key);


        void SetDefaultLanaguage(string lang);
    }
}
